package com.iocaop.uaa.exception;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.zalando.problem.spring.web.advice.ProblemHandling;

@ControllerAdvice
public class ExceptionHandler implements ProblemHandling {

    /**
     * 返回的异常信息中是否包含堆栈信息
     * @return
     */
    @Override public boolean isCausalChainsEnabled() {
        return false;
    }
}
